

.pod-main {
	--pod-accent: #1d4ed8;
	--pod-border: rgba(0, 0, 0, 0.12);
	--pod-muted: rgba(0, 0, 0, 0.6);
	--pod-track: rgba(0, 0, 0, 0.15);
	--pod-radius: 10px;
	padding: 2rem 0 4rem;
}

.pod-container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 16px;
}

.pod-header { margin-bottom: 1.5rem; }
.pod-title { margin: 0 0 0.5rem; line-height: 1.2; }
.pod-eyebrow {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pod-muted);
}
.pod-meta { margin: 0 0 0.75rem; font-size: 0.9rem; color: var(--pod-muted); }

/* Players */
.pod-player,
.pod-featured {
	margin: 1.5rem 0;
	padding: 1.25rem;
	border: 1px solid var(--pod-border);
	border-radius: var(--pod-radius);
}
.pod-main audio { display: block; width: 100%; }
.pod-featured__title { margin: 0 0 0.75rem; font-size: 1.3rem; }

/* Buttons */
.pod-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.pod-btn {
	display: inline-block;
	padding: 0.6rem 1.1rem;
	border: 1px solid var(--pod-accent,#1d4ed8);
	border-radius: 999px;
	background: var(--pod-accent,#1d4ed8);
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}
.pod-btn:hover,
.pod-btn:focus-visible { filter: brightness(1.1); color: #fff; }
.pod-btn--ghost { background: transparent; color: var(--pod-accent,#1d4ed8); }
.pod-btn--ghost:hover,
.pod-btn--ghost:focus-visible { background: var(--pod-accent,#1d4ed8); color: #fff; }
.pod-btn--small { padding: 0.4rem 0.9rem; font-size: 0.85rem; white-space: nowrap; }
.pod-btn.is-playing { background: #111; border-color: #111; }

/* Single episode */
.pod-description,
.pod-transcript { margin-top: 2rem;}
.pod-transcript {
    border-bottom: 2px solid #0BA2E4;
    padding: 30px 0px;
    margin-bottom: 2rem;
}
.pod-transcript__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
.pod-transcript__head h2 { margin: 0; }
.pod-transcript__body[hidden] { display: none; }
.pod-transcript__body {
	max-height: 28rem;
	overflow-y: auto;
	padding: 1rem 1.25rem;
	border: 1px solid var(--pod-border);
	border-radius: var(--pod-radius);
}

/* Episode list */
.pod-episode-list { margin: 0; padding: 0; list-style: none; }
.pod-episode {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--pod-border);
}
.pod-episode__title { margin: 0 0 0.25rem; font-size: 1.1rem; font-weight: 700; }
.pod-episode__excerpt { margin: 0; }

/* Shows grid */
.pod-show-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}
.pod-show {
	padding: 1.25rem;
	border: 1px solid var(--pod-border);
	border-radius: var(--pod-radius);
}
.pod-show__title { margin: 0 0 0.5rem; font-size: 1.35rem; }
.pod-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0; padding: 0; list-style: none; }
.pod-pills li { margin: 0; }
.pod-pills a,
.pod-pills li {
	font-size: 0.8rem;
}
.pod-pills a {
	display: inline-block;
	padding: 0.2rem 0.65rem;
	border: 1px solid var(--pod-border);
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
}

/* Shared player on the shows page */
.pod-sticky {
	position: sticky;
	bottom: 0;
	z-index: 50;
	padding: 0.75rem 16px;
	background: #fff;
	border-top: 1px solid var(--pod-border);
	box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}
.pod-sticky[hidden] { display: none; }
.pod-sticky__title { margin: 0 0 0.4rem; font-size: 0.9rem; }

/* Breadcrumb */
.pod-breadcrumb { margin: 0 0 1.5rem; font-size: 0.875rem; }
.pod-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pod-breadcrumb li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: var(--pod-muted);
}
.pod-breadcrumb li + li::before {
	content: "\203A"; /* single right-pointing angle */
	font-size: 1.1em;
	line-height: 1;
	opacity: 0.7;
}
.pod-breadcrumb a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.pod-breadcrumb a:hover,
.pod-breadcrumb a:focus-visible { color: var(--pod-accent,#1d4ed8); }
.pod-breadcrumb [aria-current="page"] { color: inherit; font-weight: 600; }

/* Styled audio player (built by podcast.js; the native player shows without JS) */
.pod-player {
	background: rgba(29, 78, 216, 0.04);
}
.pod-audio.is-enhanced > audio { display: none; }

.pod-audio__ui {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1.1rem;
}

.pod-audio__play {
	display: grid;
	place-items: center;
	flex: none;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--pod-accent,#1d4ed8);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
	transition: transform 0.12s ease, filter 0.12s ease;
}
.pod-audio__play:hover { filter: brightness(1.1); transform: scale(1.04); }
.pod-audio__play:focus-visible,
.pod-audio__tool:focus-visible {
	outline: 3px solid var(--pod-accent,#1d4ed8);
	outline-offset: 2px;
}
.pod-audio__icon { display: none; line-height: 0; }
.pod-audio__icon--play { display: block; margin-left: 2px; } /* optical centering */
.pod-audio__ui.is-playing .pod-audio__icon--play { display: none; }
.pod-audio__ui.is-playing .pod-audio__icon--pause { display: block; }

.pod-audio__timeline {
	display: flex;
	flex: 1 1 220px;
	align-items: center;
	gap: 0.65rem;
	min-width: 0;
}
.pod-audio__time {
	min-width: 3ch;
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
	color: var(--pod-muted);
}

.pod-audio__seek {
	-webkit-appearance: none;
	appearance: none;
	flex: 1 1 auto;
	min-width: 0;
	height: 22px;
	margin: 0;
	background: transparent;
	cursor: pointer;
}
.pod-audio__seek:disabled { cursor: default; opacity: 0.5; }
.pod-audio__seek::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(to right, var(--pod-accent,#1d4ed8) var(--pod-progress, 0%), var(--pod-track) var(--pod-progress, 0%));
}
.pod-audio__seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	margin-top: -5px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--pod-accent,#1d4ed8);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
}
.pod-audio__seek::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: var(--pod-track);
}
.pod-audio__seek::-moz-range-progress {
	height: 6px;
	border-radius: 999px;
	background: var(--pod-accent,#1d4ed8);
}
.pod-audio__seek::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--pod-accent,#1d4ed8);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
}
.pod-audio__seek:focus-visible {
	outline: 3px solid var(--pod-accent,#1d4ed8);
	outline-offset: 3px;
	border-radius: 999px;
}

.pod-audio__tools { display: flex; align-items: center; gap: 0.4rem; }
.pod-audio__tool {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	min-height: 36px;
	padding: 0.3rem 0.65rem;
	border: 1px solid var(--pod-border);
	border-radius: 999px;
	background: #fff;
	color: #111;
	font: inherit;
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	cursor: pointer;
}
.pod-audio__tool:hover { border-color: var(--pod-accent,#1d4ed8); color: var(--pod-accent,#1d4ed8); }
.pod-audio__speed { min-width: 3.4em; justify-content: center; font-weight: 600; }

.pod-audio__error {
	flex: 1 0 100%;
	margin: 0;
	font-size: 0.9rem;
	color: #b91c1c;
}
.pod-audio__error[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
	.pod-audio__play { transition: none; }
}

@media (max-width: 600px) {
	.pod-episode { flex-direction: column; }
	.pod-audio__timeline { flex-basis: calc(100% - 56px - 1.1rem); }
	.pod-audio__tools { flex: 1 0 100%; justify-content: flex-end; }
}

/* Show artwork inside the audio player */
.pod-player--art {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.pod-player__art { flex: none; line-height: 0; }
.pod-player__img {
	display: block;
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: var(--pod-radius);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.pod-player__main { flex: 1 1 auto; min-width: 0; }

@media (max-width: 600px) {
	.pod-player--art { flex-direction: column; align-items: stretch; gap: 1rem; }
	.pod-player__art { align-self: center; }
	.pod-player__img { width: 160px; height: 160px; }
}

/* Container: Vertical stack on mobile, wrapping row on desktop */
.pod-shows-grid {
    display: flex;
    flex-direction: column; /* Vertical on mobile */
    flex-wrap: nowrap;
    gap: 20px;
}

@media (min-width: 768px) {
    .pod-shows-grid {
        flex-direction: row; /* Row on desktop */
        flex-wrap: wrap;     /* Wraps automatically */
    }
    
}

/* Individual Card: Always vertical content flow */
.pod-show-card {
    display: flex;
    flex-direction: column; /* Stack all elements vertically */
    flex: 1 1 100%;
    box-sizing: border-box;
    /* Add standard border/padding background matching your theme here if needed */
}

@media (min-width: 768px) {
    .pod-show-card {
        /* Adjust width per row, e.g., 3 columns: calc(33.333% - 14px) */
        flex: 1 1 calc(33.333% - 14px); 
    }
}

.pod-show-card__media {
    margin-bottom: 12px;
}

.pod-show-card__body {
    flex-grow: 1; /* Pushes footer button down if cards vary in height */
    margin-bottom: 16px;
}

.pod-show-card__footer {
    margin-top: auto; /* Pin button consistently to the bottom */
}

.pod-show .hub-card {
	max-width: 600px;
}

.pod-show .hub-card *{
	margin: auto;
}
